import request from '@/utils/request'
//单选
export function getSinglesApi(data) {
    return request({
        url: '/getSingles.do',
        method: 'post',
		data:data
    })
}
export function addSinglesApi(data) {
    return request({
        url: '/addSingle.do',
        method: 'post',
        data: data
    })
}
export function softDeleteSingleApi(data) {
    return request({
        url: '/softDeleteSingle.do',
        method: 'post',
        data: data
    })
}
export function deleteSingleApi(data) {
    return request({
        url: '/deleteSingle.do',
        method: 'post',
        data: data
    })
}
export function recycleSingleApi(data) {
    return request({
        url: '/recycleSingle.do',
        method: 'post',
        data: data
    })
}
export function updateSingleApi(data) {
    return request({
        url: '/updateSingle.do',
        method: 'post',
        data: data
    })
}

//多选
export function getSelectionsApi() {
    return request({
        url: '/getSelections.do',
        method: 'post',
    })
}
export function addSelectionApi(data) {
    return request({
        url: '/addSelection.do',
        method: 'post',
        data: data
    })
}
export function softDeleteSelectionApi(data) {
    return request({
        url: '/softDeleteSelection.do',
        method: 'post',
        data: data
    })
}
export function deleteSelectionApi(data) {
    return request({
        url: '/deleteSelection.do',
        method: 'post',
        data: data
    })
}
export function recycleSelectionApi(data) {
    return request({
        url: '/recycleSelection.do',
        method: 'post',
        data: data
    })
}
export function updateSelectionApi(data) {
    return request({
        url: '/updateSelection.do',
        method: 'post',
        data: data
    })
}


//判断
export function getJudgesApi() {
    return request({
        url: '/getJudges.do',
        method: 'post',
    })
}
export function addJudgeApi(data) {
    return request({
        url: '/addJudge.do',
        method: 'post',
        data: data
    })
}
export function softDeleteJudgeApi(data) {
    return request({
        url: '/softDeleteJudge.do',
        method: 'post',
        data: data
    })
}
export function deleteJudgeApi(data) {
    return request({
        url: '/deleteJudge.do',
        method: 'post',
        data: data
    })
}
export function recycleJudgeApi(data) {
    return request({
        url: '/recycleJudge.do',
        method: 'post',
        data: data
    })
}
export function updateJudgeApi(data) {
    return request({
        url: '/updateJudge.do',
        method: 'post',
        data: data
    })
}



